package com.platform.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import sun.management.resources.agent;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


/**
 * 会员、主播实体
 * 表名 api_user
 *
 * @author zhurusen
 * @email 524227263@qq.com
 * @date 2018-06-03 11:20:12
 */
public class UserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //姓名
    private String username;
    //密码
    private String password;
    //性别1男2女
    private Integer gender;
    //出生日期
    private Date birthday;
    //注册时间
    private Date registerTime;
    //最后一次登录时间
    private Date lastLoginTime;
    //最后一次登录ip
    private String lastLoginIp;
    //昵称
    private String nickname;
    //手机
    private String mobile;
    //注册ip
    private String registerIp;
    //头像
    private String avatar;
    //微信id
    private String weixinOpenid;
    //可提现金额
    private BigDecimal presentAmount;
    //可用金额
    private BigDecimal availableAmount;
    //累计收益
    private BigDecimal withdrawAmount;
    //所在城市
    private Long cityId;
    //所在城市名称
    private String cityName;
    //身高（cm）
    private BigDecimal height;
    //体重（kg）
    private BigDecimal weight;
    //星座
    private String constellation;
    //个人介绍
    private String introduction;
    //状态 1 有效 2 禁用
    private Long status;
    //身份 1 会员 2 窝主
    private Integer identity;
    //申请状态 1未提交 2待审核 3 审核通过 4 审核失败
    private Integer applicationStatus;
    //在线状态 1在线  2在聊 3勿扰 4离线
    private Integer onlineStatus;
    //直播 1 开通 2 未开通
    private Integer live;
    //叫醒 1 开通 2 未开通
    private Integer wake;
    //情感 1 开通 2 未开通
    private Integer emotion;
    //向导 1 开通 2 未开通
    private Integer guide;
    //亲密值
    private Integer intimacy;
    //类型 1 精选 2 新人
    private Integer type;
    //一对一直播单价
    private BigDecimal livePrice;
    //叫醒单价
    private BigDecimal wakePrice;
    //情感交流单价
    private BigDecimal emotionPrice;
    //向导单价
    private BigDecimal guidePrice;
    //联建
    private Integer age;
    //封面
    private String coverUrl;
    //语音url
    private String voiceUrl;
    //接听率
    private Integer reception;
    //累计贡献
    private BigDecimal contribution;
    private Long talkTimes;
    //接单次数
    private Integer ordernum;
    //累计充值
    private BigDecimal czAmount;
    //累计消费
    private BigDecimal xsAmount;
    //在线时长
    private BigDecimal olinetime;
    //权重排序
    private Integer sort;
    //人脉id
    private Long connection;
    //渠道
    private Long channel;
    //经纪人
    private Long agent;
    private String deviceToken;
    private String mobileType;

    public String getDeviceToken() {
        return deviceToken;
    }

    public UserEntity setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
        return this;
    }

    public String getMobileType() {
        return mobileType;
    }

    public UserEntity setMobileType(String mobileType) {
        this.mobileType = mobileType;
        return this;
    }

    public Long getAgent() {
        return agent;
    }

    public UserEntity setAgent(Long agent) {
        this.agent = agent;
        return this;
    }

    public BigDecimal getPresentAmount() {
        return presentAmount;
    }

    public UserEntity setPresentAmount(BigDecimal presentAmount) {
        this.presentAmount = presentAmount;
        return this;
    }

    List<ApiResourceEntity> pics = new ArrayList<>();

    public Integer getSort() {
        return sort;
    }

    public UserEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public Integer getOrdernum() {
        return ordernum;
    }

    public UserEntity setOrdernum(Integer ordernum) {
        this.ordernum = ordernum;
        return this;
    }

    public BigDecimal getOlinetime() {
        return olinetime;
    }

    public UserEntity setOlinetime(BigDecimal olinetime) {
        this.olinetime = olinetime;
        return this;
    }

    public BigDecimal getCzAmount() {
        return czAmount;
    }

    public UserEntity setCzAmount(BigDecimal czAmount) {
        this.czAmount = czAmount;
        return this;
    }

    public BigDecimal getXsAmount() {
        return xsAmount;
    }

    public UserEntity setXsAmount(BigDecimal xsAmount) {
        this.xsAmount = xsAmount;
        return this;
    }

    public Long getTalkTimes() {
        return talkTimes;
    }

    public UserEntity setTalkTimes(Long talkTimes) {
        this.talkTimes = talkTimes;
        return this;
    }

    public List<ApiResourceEntity> getPics() {
        return pics;
    }

    public UserEntity setPics(List<ApiResourceEntity> pics) {
        this.pics = pics;
        return this;
    }

    public Long getChannel() {
        return channel;
    }

    public UserEntity setChannel(Long channel) {
        this.channel = channel;
        return this;
    }

    public BigDecimal getContribution() {
        return contribution;
    }

    public UserEntity setContribution(BigDecimal contribution) {
        this.contribution = contribution;
        return this;
    }

    public Long getConnection() {
        return connection;
    }

    public UserEntity setConnection(Long connection) {
        this.connection = connection;
        return this;
    }

    /**
     * 设置：
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置：姓名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取：姓名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置：密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取：密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置：性别1男2女
     */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /**
     * 获取：性别1男2女
     */
    public Integer getGender() {
        return gender;
    }

    /**
     * 设置：出生日期
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 获取：出生日期
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * 设置：注册时间
     */
    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    /**
     * 获取：注册时间
     */
    public Date getRegisterTime() {
        return registerTime;
    }

    /**
     * 设置：最后一次登录时间
     */
    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     * 获取：最后一次登录时间
     */
    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * 设置：最后一次登录ip
     */
    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    /**
     * 获取：最后一次登录ip
     */
    public String getLastLoginIp() {
        return lastLoginIp;
    }

    /**
     * 设置：昵称
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    /**
     * 获取：昵称
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * 设置：手机
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * 获取：手机
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置：注册ip
     */
    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp;
    }

    /**
     * 获取：注册ip
     */
    public String getRegisterIp() {
        return registerIp;
    }

    /**
     * 设置：头像
     */
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /**
     * 获取：头像
     */
    public String getAvatar() {
        return avatar;
    }

    /**
     * 设置：微信id
     */
    public void setWeixinOpenid(String weixinOpenid) {
        this.weixinOpenid = weixinOpenid;
    }

    /**
     * 获取：微信id
     */
    public String getWeixinOpenid() {
        return weixinOpenid;
    }

    /**
     * 设置：可提现金额
     */
    public void setAvailableAmount(BigDecimal availableAmount) {
        this.availableAmount = availableAmount;
    }

    /**
     * 获取：可提现金额
     */
    public BigDecimal getAvailableAmount() {
        return availableAmount;
    }

    /**
     * 设置：已经提现金额
     */
    public void setWithdrawAmount(BigDecimal withdrawAmount) {
        this.withdrawAmount = withdrawAmount;
    }

    /**
     * 获取：已经提现金额
     */
    public BigDecimal getWithdrawAmount() {
        return withdrawAmount;
    }

    /**
     * 设置：所在城市
     */
    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    /**
     * 获取：所在城市
     */
    public Long getCityId() {
        return cityId;
    }

    /**
     * 设置：所在城市名称
     */
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    /**
     * 获取：所在城市名称
     */
    public String getCityName() {
        return cityName;
    }

    /**
     * 设置：身高（cm）
     */
    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    /**
     * 获取：身高（cm）
     */
    public BigDecimal getHeight() {
        return height;
    }

    /**
     * 设置：体重（kg）
     */
    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    /**
     * 获取：体重（kg）
     */
    public BigDecimal getWeight() {
        return weight;
    }

    /**
     * 设置：星座
     */
    public void setConstellation(String constellation) {
        this.constellation = constellation;
    }

    /**
     * 获取：星座
     */
    public String getConstellation() {
        return constellation;
    }

    /**
     * 设置：个人介绍
     */
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    /**
     * 获取：个人介绍
     */
    public String getIntroduction() {
        return introduction;
    }

    /**
     * 设置：状态 1 有效 2 禁用
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    /**
     * 获取：状态 1 有效 2 禁用
     */
    public Long getStatus() {
        return status;
    }

    /**
     * 设置：身份 1 会员 2 窝主
     */
    public void setIdentity(Integer identity) {
        this.identity = identity;
    }

    /**
     * 获取：身份 1 会员 2 窝主
     */
    public Integer getIdentity() {
        return identity;
    }

    /**
     * 设置：申请状态 1未提交 2待审核 3 审核通过 4 审核失败
     */
    public void setApplicationStatus(Integer applicationStatus) {
        this.applicationStatus = applicationStatus;
    }

    /**
     * 获取：申请状态 1未提交 2待审核 3 审核通过 4 审核失败
     */
    public Integer getApplicationStatus() {
        return applicationStatus;
    }

    /**
     * 设置：在线状态 1在线  2在聊 3勿扰 4离线
     */
    public void setOnlineStatus(Integer onlineStatus) {
        this.onlineStatus = onlineStatus;
    }

    /**
     * 获取：在线状态 1在线  2在聊 3勿扰 4离线
     */
    public Integer getOnlineStatus() {
        return onlineStatus;
    }

    /**
     * 设置：直播 1 开通 2 未开通
     */
    public void setLive(Integer live) {
        this.live = live;
    }

    /**
     * 获取：直播 1 开通 2 未开通
     */
    public Integer getLive() {
        return live;
    }

    /**
     * 设置：叫醒 1 开通 2 未开通
     */
    public void setWake(Integer wake) {
        this.wake = wake;
    }

    /**
     * 获取：叫醒 1 开通 2 未开通
     */
    public Integer getWake() {
        return wake;
    }

    /**
     * 设置：情感 1 开通 2 未开通
     */
    public void setEmotion(Integer emotion) {
        this.emotion = emotion;
    }

    /**
     * 获取：情感 1 开通 2 未开通
     */
    public Integer getEmotion() {
        return emotion;
    }

    /**
     * 设置：向导 1 开通 2 未开通
     */
    public void setGuide(Integer guide) {
        this.guide = guide;
    }

    /**
     * 获取：向导 1 开通 2 未开通
     */
    public Integer getGuide() {
        return guide;
    }

    /**
     * 设置：亲密值
     */
    public void setIntimacy(Integer intimacy) {
        this.intimacy = intimacy;
    }

    /**
     * 获取：亲密值
     */
    public Integer getIntimacy() {
        return intimacy;
    }

    /**
     * 设置：类型 1 精选 2 新人
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取：类型 1 精选 2 新人
     */
    public Integer getType() {
        return type;
    }

    /**
     * 设置：一对一直播单价
     */
    public void setLivePrice(BigDecimal livePrice) {
        this.livePrice = livePrice;
    }

    /**
     * 获取：一对一直播单价
     */
    public BigDecimal getLivePrice() {
        return livePrice;
    }

    /**
     * 设置：叫醒单价
     */
    public void setWakePrice(BigDecimal wakePrice) {
        this.wakePrice = wakePrice;
    }

    /**
     * 获取：叫醒单价
     */
    public BigDecimal getWakePrice() {
        return wakePrice;
    }

    /**
     * 设置：情感交流单价
     */
    public void setEmotionPrice(BigDecimal emotionPrice) {
        this.emotionPrice = emotionPrice;
    }

    /**
     * 获取：情感交流单价
     */
    public BigDecimal getEmotionPrice() {
        return emotionPrice;
    }

    /**
     * 设置：向导单价
     */
    public void setGuidePrice(BigDecimal guidePrice) {
        this.guidePrice = guidePrice;
    }

    /**
     * 获取：向导单价
     */
    public BigDecimal getGuidePrice() {
        return guidePrice;
    }

    /**
     * 设置：联建
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * 获取：联建
     */
    public Integer getAge() {
        return age;
    }

    /**
     * 设置：封面
     */
    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    /**
     * 获取：封面
     */
    public String getCoverUrl() {
        return coverUrl;
    }

    /**
     * 设置：语音url
     */
    public void setVoiceUrl(String voiceUrl) {
        this.voiceUrl = voiceUrl;
    }

    /**
     * 获取：语音url
     */
    public String getVoiceUrl() {
        return voiceUrl;
    }

    /**
     * 设置：接听率
     */
    public void setReception(Integer reception) {
        this.reception = reception;
    }

    /**
     * 获取：接听率
     */
    public Integer getReception() {
        return reception;
    }
}
